import request from '@/utils/request'

// 查询家长提现申请列表
export function userTakeList(query) {
  return request({
    url: 'user/userTake/list',
    method: 'get',
    params: query
  })
}

//核审提现,只需要传id和status(要修改的状态)
export function finishTake(data) {
  return request({
    url: '/user/userTake/finishTake',
    method: 'post',
    data: data
  })
}

// 获取家长提现申请详细信息
export function userTakeInfo(id) {
  return request({
    url: '/user/userTake/' + id,
    method: 'get'
  })
}


